﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArmoryData.Character
{
    public class Item
    {
        public int Id { get; set; }
        public int Quality { get; set; }
        public string Name { get; set; }
        public string Icon { get; set; }
        public int Slot { get; set; }
        public string InventorySlot { get; set; }
        public string HtmlTooltip { get; set; }
        public string Link { get; set; }
        public int Gem0Id { get; set; }
        public int Gem1Id { get; set; }
        public int Gem2Id { get; set; }
        public int Durability { get; set; }
        public int MaxDurability { get; set; }
        public int PermanentEnchant { get; set; }
        public int RandomProperties { get; set; }
        public string GemStyles { get; set; }

        public override string ToString()
        {
            return string.Format("Id: {0}, Quality: {1}, Name: {2}, Icon: {3}, Slot: {4}, InventorySlot: {5}, Link: {6}, Gem0Id: {7}, Gem1Id: {8}, Gem2Id: {9}, Durability: {10}, MaxDurability: {11}, PermanentEnchant: {12}, RandomProperties: {13}, GemStyles: {14}",
            Id, Quality, Name, Icon, Slot, InventorySlot, Link, Gem0Id, Gem1Id, Gem2Id, Durability, MaxDurability, PermanentEnchant, RandomProperties, GemStyles);
        }
    }        
}
